home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 117 / PC Guia 117.iso / Software / Utils / Software6 / Product13 / googlebar-0.9.5.06-fx.xpi / chrome / googlebar.jar / content / googlebarPopupOverlay.xul < prev    next >
Extensible Markup Language  |  2005-02-21  |  13KB  |  375 lines

  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!-- ***** BEGIN LICENSE BLOCK *****
  3.    - Version: MPL 1.1/GPL 2.0/LGPL 2.1
  4.    -
  5.    - The contents of this file are subject to the Mozilla Public License Version
  6.    - 1.1 (the "License"); you may not use this file except in compliance with
  7.    - the License. You may obtain a copy of the License at
  8.    - http://www.mozilla.org/MPL/
  9.    -
  10.    - Software distributed under the License is distributed on an "AS IS" basis,
  11.    - WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
  12.    - for the specific language governing rights and limitations under the
  13.    - License.
  14.    -
  15.    - The Original Code is Googlebar for Mozilla.
  16.    -
  17.    - The Initial Developer of the Original Code is Andy Edmonds.
  18.    - Portions created by the Initial Developer are Copyright (C) 2001
  19.    - the Initial Developer. All Rights Reserved.
  20.    -
  21.    - Contributor(s):
  22.    -  Andy Boughton
  23.    -  Andrew Houghton
  24.    -  John Woods
  25.    -  Bernd Kuemmerlen     
  26.    -  Robert Mulcahy
  27.    -  Alfred Kayser
  28.    -  Reflex
  29.    -  Gary Turnbull
  30.    -  Raj Bhaskar
  31.    -  Joachim Thewes
  32.    -  Henrik Gemal
  33.    -  Robert Fernandes
  34.    -  Joe Chellman
  35.    -  Franki Cheung
  36.    -  Alban Fonrouge
  37.    -  Martin Hassman
  38.    -  Ufuk Kayserilioglu
  39.    -
  40.    - Alternatively, the contents of this file may be used under the terms of
  41.    - either the GNU General Public License Version 2 or later (the "GPL"), or
  42.    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
  43.    - in which case the provisions of the GPL or the LGPL are applicable instead
  44.    - of those above. If you wish to allow use of your version of this file only
  45.    - under the terms of either the GPL or the LGPL, and not to allow others to
  46.    - use your version of this file under the terms of the MPL, indicate your
  47.    - decision by deleting the provisions above and replace them with the notice
  48.    - and other provisions required by the LGPL or the GPL. If you do not delete
  49.    - the provisions above, a recipient may use your version of this file under
  50.    - the terms of any one of the MPL, the GPL or the LGPL.
  51.    -
  52.    - ***** END LICENSE BLOCK ***** -->
  53.  
  54. <!DOCTYPE window SYSTEM "chrome://googlebar/locale/googlebar.dtd" >
  55.  
  56. <overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  57.  
  58. <popup id="comp-popup">
  59.     <menuitem id="bsd"
  60.      class="menuitem-all"
  61.      label=" &button.bsd;"
  62.      tooltiptext="&button.bsd;"
  63.      oncommand="googlebarSearch(event,'bsd', 0 ); googlebarUpdateParent(event)"/>
  64.     <menuitem id="linux"
  65.      class="menuitem-all"
  66.      label=" &button.linux;"
  67.      tooltiptext="&button.linux;"
  68.      oncommand="googlebarSearch(event,'linux', 0 ); googlebarUpdateParent(event)"/>
  69.     <menuitem id="mac"
  70.      class="menuitem-all"
  71.      label=" &button.mac;"
  72.      tooltiptext="&button.mac;"
  73.      oncommand="googlebarSearch(event,'mac', 0 ); googlebarUpdateParent(event)"/>
  74.     <menuitem id="microsoft"
  75.      class="menuitem-all"
  76.      label=" &button.microsoft;"
  77.      tooltiptext="&button.microsoft;"
  78.      oncommand="googlebarSearch(event,'microsoft', 0 ); googlebarUpdateParent(event)"/>
  79. </popup>
  80.  
  81. <popup id="info-popup">
  82.     <menuitem id="cached"
  83.      class="menuitem-all"
  84.      label=" &info.cached;"
  85.      tooltiptext="&info.cached;"
  86.      oncommand="googlebarSearch(event,'cache', 0 ); googlebarUpdateParent(event)"/>
  87.     <menuitem id="similar"
  88.      class="menuitem-all"
  89.      label=" &info.similar;"
  90.      tooltiptext="&info.similar;"
  91.      oncommand="googlebarSearch(event,'similar', 0 ); googlebarUpdateParent(event)"/>
  92.     <menuitem id="backwards"
  93.      class="menuitem-all"
  94.      label=" &info.backwards;"
  95.      tooltiptext="&info.backwards;"
  96.      oncommand="googlebarSearch(event,'backwards', 0 ); googlebarUpdateParent(event)"/>
  97.     <menuitem id="translate"
  98.      class="menuitem-all"
  99.      label=" &info.translate;"
  100.      tooltiptext="&info.translate;"
  101.      oncommand="googlebarSearch(event,'translate', 0 ); googlebarUpdateParent(event)"/>
  102. </popup>
  103.  
  104. <popup id="spec-popup">
  105.     <menuitem id="gbsearch"
  106.      class="menuitem-all"
  107.      label=" &button.search;"
  108.      tooltiptext="&button.search;"
  109.      oncommand="googlebarSearch(event,'default', 0 ); googlebarUpdateParent(event)"/>
  110.     <menuitem id="site"
  111.      class="menuitem-all"
  112.      label=" &button.site;"
  113.      tooltiptext="&button.site;"
  114.      oncommand="googlebarSearch(event,'site', 0 ); googlebarUpdateParent(event)">
  115.     <observes element="site-separate" attribute="disabled"/>
  116.     </menuitem>
  117.     <menuitem id="lucky"
  118.      class="menuitem-all"
  119.      label=" &button.lucky;"
  120.      tooltiptext="&button.lucky;"
  121.      oncommand="googlebarSearch(event,'lucky', 0 ); googlebarUpdateParent(event)"/>
  122.     <menuitem id="images"
  123.      class="menuitem-all"
  124.      label=" &button.images;"
  125.      tooltiptext="&button.images;"
  126.      oncommand="googlebarSearch(event,'images', 0 ); googlebarUpdateParent(event)"/>
  127.     <menuitem id="groups"
  128.      class="menuitem-all"
  129.      label=" &button.groups;"
  130.      tooltiptext="&button.groups;"
  131.      oncommand="googlebarSearch(event,'groups', 0 ); googlebarUpdateParent(event)"/>
  132.     <menuitem id="directory"
  133.      class="menuitem-all"
  134.      label=" &button.directory;"
  135.      tooltiptext="&button.directory;"
  136.      oncommand="googlebarSearch(event,'directory', 0 ); googlebarUpdateParent(event)"/>
  137.     <menuitem id="news"
  138.      class="menuitem-all"
  139.      label=" &button.news;"
  140.      tooltiptext="&button.news;"
  141.      oncommand="googlebarSearch(event,'news', 0 ); googlebarUpdateParent(event)"/>
  142.     <menuitem id="answers"
  143.      class="menuitem-all"
  144.      label=" &button.answers;"
  145.      tooltiptext="&button.answers;"
  146.      oncommand="googlebarSearch(event,'answers', 0 ); googlebarUpdateParent(event)"/>
  147.     <menuitem id="scholar"
  148.      class="menuitem-all"
  149.      label=" &button.scholar;"
  150.      tooltiptext="&button.scholar;"
  151.      oncommand="googlebarSearch(event,'scholar', 0 ); googlebarUpdateParent(event)"/>
  152.     <menuitem id="gblogger"
  153.      class="menuitem-all"
  154.      label=" &button.gblogger;"
  155.      tooltiptext="&button.gblogger;"
  156.      oncommand="googlebarSearch(event,'gblogger', 0 ); googlebarUpdateParent(event)"/>
  157.     <menuitem id="gb-prefill"
  158.      class="menuitem-all"
  159.      label=" &button.gb-prefill;"
  160.      tooltiptext="&button.gb-prefill;"
  161.      oncommand="googlebarSearch(event,'gb-prefill', 0 ); googlebarUpdateParent(event)"/>
  162.  
  163.     <menuseparator/>
  164.  
  165.     <menuitem id="catalog"
  166.      class="menuitem-all"
  167.      label=" &button.catalog;"
  168.      tooltiptext="&button.catalog;"
  169.      oncommand="googlebarSearch(event,'Catalog', 0 ); googlebarUpdateParent(event)"/>
  170.     <menuitem id="froogle"
  171.      class="menuitem-all"
  172.      label=" &button.froogle;"
  173.      tooltiptext="&button.froogle;"
  174.      oncommand="googlebarSearch(event,'froogle', 0 ); googlebarUpdateParent(event)"/>
  175.     <menuitem id="stocks"
  176.      class="menuitem-all"
  177.      label=" &button.stocks;"
  178.      tooltiptext="&button.stocks;"
  179.      oncommand="googlebarSearch(event,'stocks', 0 ); googlebarUpdateParent(event)"/>
  180.  
  181.     <menuseparator/>
  182.  
  183.     <menuitem id="unclesam"
  184.      class="menuitem-all"
  185.      label=" &button.unclesam;"
  186.      tooltiptext="&button.unclesam;"
  187.      oncommand="googlebarSearch(event,'USA', 0 ); googlebarUpdateParent(event)"/>
  188.     <menuitem id="viewer"
  189.      class="menuitem-all"
  190.      label=" &button.viewer;"
  191.      tooltiptext="&button.viewer;"
  192.      oncommand="googlebarSearch(event,'viewer', 0 ); googlebarUpdateParent(event)"/>
  193.     <menuitem id="webquotes"
  194.      class="menuitem-all"
  195.      label=" &button.webquotes;"
  196.      tooltiptext="&button.webquotes;"
  197.      oncommand="googlebarSearch(event,'webquotes', 0 ); googlebarUpdateParent(event)"/>
  198.  
  199.     <menuseparator/>
  200.  
  201.     <menuitem id="dictionary"
  202.      class="menuitem-all"
  203.      label=" &button.dict;"
  204.      tooltiptext="&button.dict;"
  205.      oncommand="googlebarSearch(event,'dictionary', 0 ); googlebarUpdateParent(event)"/>
  206.     <menuitem id="glossary"
  207.      class="menuitem-all"
  208.      label=" &button.gloss;"
  209.      tooltiptext="&button.gloss;"
  210.      oncommand="googlebarSearch(event,'glossary', 0 ); googlebarUpdateParent(event)"/>
  211.     <menuitem id="nocalc"
  212.      class="menuitem-all"
  213.      label=" &button.nocalc;"
  214.      tooltiptext="&button.nocalc;"
  215.      oncommand="googlebarSearch(event,'nocalc', 0 ); googlebarUpdateParent(event)"/>
  216.     <menuitem id="gb-mycountry"
  217.      class="menuitem-all"
  218.      label=" &button.gb-mycountry;"
  219.      tooltiptext="&button.gb-mycountry;"
  220.      oncommand="googlebarSearch(event,'gb-mycountry', 0 ); googlebarUpdateParent(event)"/>
  221.     <menuitem id="gb-mylocal"
  222.      class="menuitem-all"
  223.      label=" &button.gb-mylocal;"
  224.      tooltiptext="&button.gb-mylocal;"
  225.      oncommand="googlebarSearch(event,'gb-mylocal', 0 ); googlebarUpdateParent(event)"/>
  226. </popup>
  227.  
  228. <popup id="univ-popup">
  229.     <menuitem id="univ-popup-update"
  230.      class="menuitem-all"
  231.      label="&button.univ.update;"
  232.      tooltiptext="&button.univ.update.tooltip;"
  233.      oncommand="updateUniv(); event.preventBubble();"/>
  234.  
  235.     <menuseparator/>
  236.  
  237.     <menuitem id="univ-popup-all"
  238.      class="menuitem-all"
  239.      label="&button.univ.all;"
  240.      tooltiptext="http://www.google.com/search?sitesearch=.edu"
  241.      oncommand="setUniv('http://www.google.com/search?sitesearch=.edu', '&button.univ.all;'); event.preventBubble();"/>  
  242.     <menu id="univ-menu-a"
  243.      label="A"
  244.      tooltiptext="&button.univ.start; 'A'">
  245.         <menupopup id="univ-popup-a"/>
  246.     </menu>
  247.     <menu id="univ-menu-b"
  248.      label="B"
  249.      tooltiptext="&button.univ.start; 'B'">
  250.         <menupopup id="univ-popup-b"/>
  251.     </menu>
  252.     <menu id="univ-menu-c"
  253.      label="C"
  254.      tooltiptext="&button.univ.start; 'C'">
  255.         <menupopup id="univ-popup-c"/>
  256.     </menu>
  257.     <menu id="univ-menu-d"
  258.      label="D"
  259.      tooltiptext="&button.univ.start; 'D'">
  260.         <menupopup id="univ-popup-d"/>
  261.     </menu>
  262.     <menu id="univ-menu-e"
  263.      label="E"
  264.      tooltiptext="&button.univ.start; 'E'">
  265.         <menupopup id="univ-popup-e"/>
  266.     </menu>
  267.     <menu id="univ-menu-f"
  268.      label="F"
  269.      tooltiptext="&button.univ.start; 'F'">
  270.         <menupopup id="univ-popup-f"/>
  271.     </menu>
  272.     <menu id="univ-menu-g"
  273.      label="G"
  274.      tooltiptext="&button.univ.start; 'G'">
  275.         <menupopup id="univ-popup-g"/>
  276.     </menu>
  277.     <menu id="univ-menu-h"
  278.      label="H"
  279.      tooltiptext="&button.univ.start; 'H'">
  280.         <menupopup id="univ-popup-h"/>
  281.     </menu>
  282.     <menu id="univ-menu-i"
  283.      label="I"
  284.      tooltiptext="&button.univ.start; 'I'">
  285.         <menupopup id="univ-popup-i"/>
  286.     </menu>
  287.     <menu id="univ-menu-j"
  288.      label="J"
  289.      tooltiptext="&button.univ.start; 'J'">
  290.         <menupopup id="univ-popup-j"/>
  291.     </menu>
  292.     <menu id="univ-menu-k"
  293.      label="K"
  294.      tooltiptext="&button.univ.start; 'K'">
  295.         <menupopup id="univ-popup-k"/>
  296.     </menu>
  297.     <menu id="univ-menu-l"
  298.      label="L"
  299.      tooltiptext="&button.univ.start; 'L'">
  300.         <menupopup id="univ-popup-l"/>
  301.     </menu>
  302.     <menu id="univ-menu-m"
  303.      label="M"
  304.      tooltiptext="&button.univ.start; 'M'">
  305.         <menupopup id="univ-popup-m"/>
  306.     </menu>
  307.     <menu id="univ-menu-n"
  308.      label="N"
  309.      tooltiptext="&button.univ.start; 'N'">
  310.         <menupopup id="univ-popup-n"/>
  311.     </menu>
  312.     <menu id="univ-menu-o"
  313.      label="O"
  314.      tooltiptext="&button.univ.start; 'O'">
  315.         <menupopup id="univ-popup-o"/>
  316.     </menu>
  317.     <menu id="univ-menu-p"
  318.      label="P"
  319.      tooltiptext="&button.univ.start; 'P'">
  320.         <menupopup id="univ-popup-p"/>
  321.     </menu>
  322.     <menu id="univ-menu-q"
  323.      label="Q"
  324.      tooltiptext="&button.univ.start; 'Q'">
  325.         <menupopup id="univ-popup-q"/>
  326.     </menu>
  327.     <menu id="univ-menu-r"
  328.      label="R"
  329.      tooltiptext="&button.univ.start; 'R'">
  330.         <menupopup id="univ-popup-r"/>
  331.     </menu>
  332.     <menu id="univ-menu-s"
  333.      label="S"
  334.      tooltiptext="&button.univ.start; 'S'">
  335.         <menupopup id="univ-popup-s"/>
  336.     </menu>
  337.     <menu id="univ-menu-t"
  338.      label="T"
  339.      tooltiptext="&button.univ.start; 'T'">
  340.         <menupopup id="univ-popup-t"/>
  341.     </menu>
  342.     <menu id="univ-menu-u"
  343.      label="U"
  344.      tooltiptext="&button.univ.start; 'U'">
  345.         <menupopup id="univ-popup-u"/>
  346.     </menu>
  347.     <menu id="univ-menu-v"
  348.      label="V"
  349.      tooltiptext="&button.univ.start; 'V'">
  350.         <menupopup id="univ-popup-v"/>
  351.     </menu>
  352.     <menu id="univ-menu-w"
  353.      label="W"
  354.      tooltiptext="&button.univ.start; 'W'">
  355.         <menupopup id="univ-popup-w"/>
  356.     </menu>
  357.     <menu id="univ-menu-x"
  358.      label="X"
  359.      tooltiptext="&button.univ.start; 'X'">
  360.         <menupopup id="univ-popup-x"/>
  361.     </menu>
  362.     <menu id="univ-menu-y"
  363.      label="Y"
  364.      tooltiptext="&button.univ.start; 'Y'">
  365.         <menupopup id="univ-popup-y"/>
  366.     </menu>
  367.     <menu id="univ-menu-z"
  368.      label="Z"
  369.      tooltiptext="&button.univ.start; 'Z'">
  370.         <menupopup id="univ-popup-z"/>
  371.     </menu>
  372. </popup>
  373.  
  374. </overlay>
  375.